package com.example.demo.mapper;

import com.example.demo.entity.HotSearchWord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface HotSearchWordMapper {
    @Select("SELECT * from hot_search_word ORDER BY sort ")
    List<HotSearchWord> findAll();

}
